<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>调用函数</title>
<script type="text/javascript">
	function show(text){
        document.write(text);   //定义一个含有形参text的函数，调用这个函数时必须给出实参
	}
</script>
</head>
<body>
	<script type="text/javascript">
       show("你好！");        //调用函数show(),并给出实参“你好！”
	</script>
</body>
</html>
